package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.ReportDownloadInfo;
import cn.besbing.model.entities.primary.ReportDownloadInfoExample;
import cn.besbing.model.mapper.primary.ReportDownloadInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ReportDownloadInfoServiceImpl implements ReportDownloadInfoMapper {

    @Autowired(required = false)
    private ReportDownloadInfoMapper reportDownloadInfoMapper;


    @Override
    public long countByExample(ReportDownloadInfoExample example) {
        return reportDownloadInfoMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ReportDownloadInfoExample example) {
        return reportDownloadInfoMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkDownloadInfo) {
        return reportDownloadInfoMapper.deleteByPrimaryKey(pkDownloadInfo);
    }

    @Override
    public int insert(ReportDownloadInfo record) {
        return reportDownloadInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(ReportDownloadInfo record) {
        return reportDownloadInfoMapper.insertSelective(record);
    }

    @Override
    public List<ReportDownloadInfo> selectByExample(ReportDownloadInfoExample example) {
        return reportDownloadInfoMapper.selectByExample(example);
    }

    @Override
    public ReportDownloadInfo selectByPrimaryKey(String pkDownloadInfo) {
        return reportDownloadInfoMapper.selectByPrimaryKey(pkDownloadInfo);
    }

    @Override
    public int updateByExampleSelective(ReportDownloadInfo record, ReportDownloadInfoExample example) {
        return reportDownloadInfoMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ReportDownloadInfo record, ReportDownloadInfoExample example) {
        return reportDownloadInfoMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(ReportDownloadInfo record) {
        return reportDownloadInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ReportDownloadInfo record) {
        return reportDownloadInfoMapper.updateByPrimaryKey(record);
    }
}
